package com.zhao.service;

import com.zhao.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhao.entity.chapter.Chapter;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author xiaozhao
 * @since 2021-07-26
 */
public interface EduChapterService extends IService<EduChapter> {

    List<Chapter> getChapterAndVideo(String courseId);

    String saveChapter(EduChapter chapter);

    String updateChapter(EduChapter chapter);

    void deletechapter(String id);
}
